package com.example.buildtable.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(autoResultMap = true)
public class ComplaintMessage {
    @TableId(type = IdType.AUTO)
    private Integer complaintMessageId;
    @TableField(value = "member_id", target = Member.class)
    private Integer memberId;
    @TableField(relation = Relation.MANY_TO_MANY)
    private Member member;
    private Integer complaintMessageType;
    private String complaintMessageTitle;
    private String complaintMessageContent;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;
    private Integer replyStatus;
}
